//
//  UIImageView+EL.h
//  JTProject
//
//  Created by Yuki on 2021/3/9.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN
typedef void(^EL_ClickCurrentImgViewBlock)(UIImageView *currentImgView);
@interface UIImageView (EL)
#pragma mark - --------- 创建一个图片  ---------
/// 创建一个图片
+ (UIImageView *)el_createImgView;

/// 创建一个图片
/// @param img 图片
+ (UIImageView *)el_createImgViewWithImg:(UIImage *)img;


#pragma mark - --------- 点击图片  ---------
/**  点击当前图片  **/
@property (nonatomic , copy)EL_ClickCurrentImgViewBlock  clickCurrentImgViewBlock;


#pragma mark - --------- 设置网络图片  ---------
/// ---- 设置网络图片01
- (void)sd_setFadeImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder;

/// ---- 设置网络图片02
- (void)sd_setFadeImageWithURL:(NSURL *)url;
@end

NS_ASSUME_NONNULL_END
